<?php
/**
 * [YIZHIKEJI System] Copyright (c) 2014 yz929.cn
 * YIZHIKEJI is NOT a free software, it under the license terms, visited http://www.yz929.cn/ for more details.
 */
if(empty($_W['openid'])){
    exit('非法访问');
}
//web_uid网页用户id ，进入微站管理时 不能为空
if(empty($_W['web_uid'])) {
    $_W['web_uid'] = pdo_fetchcolumn('select uid from ' . tablename('users') . 'where openid=:openid', array(':openid' => $_W['openid']));
}
if(empty($_W['web_uid'])) {
    exit('非法访问');
}
